﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PedidosDocumento.aspx.cs" Inherits="LASMobile.PedidosDocumento" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<style type="text/css">
body
{
    background-color: #515454;
}

form {
  visibility: visible;
  margin: 0px;
  font-size: 10px;
}
input,textarea,select  {
        position: absolute;
        color: #000000;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        font-weight: normal;
        font-style: normal;
        text-decoration: none;
        top: 0px;
        left: 0px;
    }
.dfltt {
  font-family: 'Times New Roman';
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  text-align: left;
  color: #000000;
}
.lalign {
  position: relative;
  text-align: left;
}
.ralign {
  position: relative;
  text-align: right;
}
.calign {
  position: relative;
  text-align: center;
}
.jalign {
  position: relative;
  text-align: justify;
}

a:link {color: #0000ff;}
a:visited {color: #800080;}
a:active {color: #ff0000;}

body {
        margin: 0;
        height: 100%;
        width: 100%;
    }
img { border-width: 0;}

#Oobj5 {
  position: absolute;
  font-size: 10px;
  z-index: 1;
  left: -5.20em;
  top: -5.20em;
  width: 41.00em;
  height: 64.00em;
}
img#Ggeo4 {
  width: 100%;
  height: 100%;
}
#Oobj6 {
  position: absolute;
        font-size: 10px;
        z-index: 2;
        left: 0.00em;
        top: 0.00em;
        width: 100%;
        height: 11.50em;
        background-color: #bcbcbc;
}
img#Ggeo5 {
  width: 36.00em;
  height: 100%;
}
#Oobj7 {
  position: absolute;
  font-size: 10px;
  z-index: 3;
  left: 3.00em;
  top: 15.00em;
  width: 30.00em;
  height: 40.90em;
}
img#Ggeo6 {
  width: 100%;
  height: 100%;
}
#Oobj21 {
        position: absolute;
        font-size: 40px;
        z-index: 30;
        text-align: left;
        left: 2.5em;
        top: 3.9em;
        width: 4em;
        height: 1.4em;
        font-family: Arial, Helvetica, sans-serif;
        color: #107EB4;
    }
img#Gtitle41 {
  width: 100%;
  height: 100%;
}
#Oobj4 {
  position: absolute;
  font-size: 10px;
  z-index: 5;
  text-align: left;
  left: 13.30em;
  top: 21.00em;
  width: 11.00em;
  height: 4.50em;
}
img#Gtitle42 {
  width: 100%;
  height: 100%;
}
#Oobj12 {
  position: absolute;
  font-size: 10px;
  z-index: 6;
  text-align: left;
  left: 5.00em;
  top: 26.70em;
  width: 14.00em;
  height: 2.90em;
}

#Oobj20 {
        position: absolute;
        font-size: 10px;
        z-index: 6;
        text-align: left;
        left: 5.00em;
        top: 23.00em;
        width: 14.00em;
        height: 2.90em;
    }

.txt0 {
  font-family: Arial, sans-serif;
  font-size: 19px;
}
#Oobj13 {
        position: absolute;
        font-size: 10px;
        z-index: 7;
        text-align: left;
        left: 5.00em;
        top: 34.20em;
        width: 14.00em;
        height: 2.90em;
    }
#Div1 {
        position: absolute;
        font-size: 10px;
        z-index: 7;
        text-align: left;
        left: 5.00em;
        top: 37.90em;
        width: 14.00em;
        height: 2.90em;
    }
#Div4 {
        position: absolute;
        font-size: 10px;
        z-index: 7;
        text-align: left;
        left: 5em;
        top: 41.8em;
        width: 25.8em;
        height: 8.4em;
    }
#Oobj40 {
        position: absolute;
        font-size: 10px;
        z-index: 10;
        left: 20.20em;
        top: 30.50em;
        width: 11.00em;
        height: 2.30em;
    }

#Oobj14 {
        position: absolute;
        font-size: 10px;
        z-index: 8;
        text-align: left;
        left: 5.00em;
        top: 37.90em;
        width: 14.00em;
        height: 2.90em;
    }
#Oobj15 {
        position: absolute;
        font-size: 10px;
        z-index: 9;
        text-align: left;
        left: 5.20em;
        top: 41.5em;
        width: 14.00em;
        height: 2.90em;
    }
#Oobj18 {
        position: absolute;
        font-size: 10px;
        z-index: 10;
        left: 20.20em;
        top: 34.1em;
        width: 11.00em;
        height: 2.30em;
    }
#Div5 {
        position: absolute;
        font-size: 10px;
        z-index: 10;
        left: 20.2em;
        top: 37.6em;
        width: 12.6em;
        height: 2.30em;
    }
#Gform6 {
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  font-size: 19px;
}
#Oobj19 {
        position: absolute;
        font-size: 10px;
        z-index: 11;
        left: 20.20em;
        top: 37.8em;
        width: 11.00em;
        height: 2.30em;
    }
#Gform7 {
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  font-size: 19px;
        top: 0px;
        left: 0px;
    }
#Oobj28 {
  position: absolute;
  font-size: 10px;
  z-index: 13;
  left: 20.50em;
  top: 26.50em;
  width: 10.50em;
  height: 3.00em;
}
#Gform11 {
  width: 100%;
  height: 100%;
        top: 0px;
        left: 0px;
    }
#Oobj30 {
        position: absolute;
        font-size: 10px;
        z-index: 14;
        left: 20.6em;
        top: 22.7em;
        width: 10.50em;
        height: 3.00em;
    }
#Gform12 {
  width: 100%;
  height: 100%;
}
#Oobj24 {
        position: absolute;
        font-size: 10px;
        z-index: 12;
        text-align: left;
        left: 5.40em;
        top: 45.3em;
        width: 14.00em;
        height: 2.90em;
    }
#Oobj31 {
  position: absolute;
  font-size: 10px;
  z-index: 15;
  text-align: left;
  left: 5.20em;
  top: 30.40em;
  width: 14.00em;
  height: 2.90em;
}
#Oobj33 {
        position: absolute;
        font-size: 10px;
        z-index: 16;
        left: 17em;
        top: 51em;
        width: 9.6em;
        height: 2.2em;
    }

#Oobj66 {
        position: absolute;
        font-size: 10px;
        z-index: 16;
        left: 8em;
        top: 51em;
        width: 9.2em;
        height: 2em;
        font-family: Arial, Helvetica, sans-serif;
    }
#Gform10 {
        width: 116%;
        height: 91%;
        font-family: Arial, Helvetica, sans-serif;
        top: 0px;
        left: 0px;
    }

#Oobj34 {
        position: absolute;
        font-size: 10px;
        z-index: 17;
        left: 20.20em;
        top: 45.3em;
        width: 11.00em;
        height: 2.30em;
    }
#Gform15 {
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  font-size: 19px;
}
#Oobj35 {
        position: absolute;
        font-size: 10px;
        z-index: 18;
        left: 20.20em;
        top: 41.6em;
        width: 11.00em;
        height: 2.30em;
    }
#Gform16 {
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  font-size: 19px;
}

.textBoxClass {
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  font-size: 16px;
}
.listbox
{        width: 257px;
        height: 80px;
    }
    
#Oobj300 {
        position: absolute;
        font-size: 10px;
        z-index: 90;
        text-align: left;
        left: 25em;
        top: 4em;
        width: 9.2em;
        height: 6.6em;
    }
.dfltt {
        font-family: Arial, Helvetica, sans-serif;
        font-size: small;
        font-weight: normal;
        font-style: normal;
        text-decoration: none;
        text-align: left;
        color: #000000;
    }
</style>
</head> 

<body>

<div id="Oobj21">Pedidos</div>

<div id="Oobj6">
<img id="Ggeo5" src="Graphics/LoginBackground.png" alt="">
</div>

<div id="Oobj7">
<img id="Ggeo6" src="Graphics/back.png" alt=""></div>



<div id="Oobj12">
<div id="Grtf20" class="dfltt">
    <span class ="txt0">Entrega:<br>
</span></div>
</div>

<div id="Oobj20">
<div id="Div2" class="dfltt">
    <span class ="txt0">Contabilización:<br>
</span></div>
</div>

<div id="Oobj13">
<div id="Grtf21" class="dfltt">
    <span class ="txt0">Moneda:<br>
</span></div>
</div>

<div id="Div1">
<div id="Div3" class="dfltt">
    <span class ="txt0">Artículos:<br>
</span></div>
</div>


    <form id="Oform5" runat="server">
         <asp:ScriptManager EnablePartialRendering="true"
 ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel runat="server">
<ContentTemplate>
<div id="Oobj30">
    <asp:TextBox ID="ContabilizacionFecha" runat="server" Width="100px"></asp:TextBox>
        <asp:CalendarExtender ID="ContabilizacionFecha_CalendarExtender" runat="server" 
            TargetControlID="ContabilizacionFecha">
        </asp:CalendarExtender>

</div>
<div id="Oobj28">
    <asp:TextBox ID="EntregaFecha" runat="server" Width="100px"></asp:TextBox>
    
    <asp:CalendarExtender ID="EntregaFecha_CalendarExtender" runat="server" 
        TargetControlID="EntregaFecha">
    </asp:CalendarExtender>
    
</div>

<div id="Oobj33">
    <asp:Button id="Agregar" name="form10" text="Realizar Pedido" 
        runat=server OnClick="RealizarPedido"/>
</div>
</ContentTemplate>
</asp:UpdatePanel>


<div id="Div4">

    <asp:ListBox ID="ProductosListBox" runat="server" CssClass=listbox></asp:ListBox>

</div>



<div id="Oobj18">
    <asp:DropDownList ID="MonedaDropDownList" runat="server" CssClass=textBoxClass>
    </asp:DropDownList>
</div>

<div id="Div5">
    <asp:Button ID="Button1" runat="server" Text="Agregar artículo" Width=110px OnClick="AgregarArticulo" />
</div>



<div id="Oobj40"><asp:DropDownList ID="ClienteDropDownList" runat="server" CssClass=textBoxClass>
    </asp:DropDownList>
</div>
<div id="Oobj31">
<div id="Grtf26" class="dfltt">
    <span class ="txt0">Cliente:<br>
</span></div>
</div>




<div id="Oobj66"><asp:Button id="Cancelar" name="form10" text="Cancelar" 
        runat=server />
</div>

 <div id="Oobj300">
<div id="Div6" class="dfltt">
    <br ><asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="Menu.aspx" >Menú Principal</asp:LinkButton><br />
    <br ><asp:LinkButton ID="LinkButton2" runat="server" OnClick="CloseSession" >Cerrar Sesión</asp:LinkButton><br />
</div>
</div>

    </form>
</body>